<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>order-xiangqing</title>
		<!--我的个人中心-->
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/Home/css/my-center.css" />
		{{include file="VIEW_PATH/Common/header.php"}}
		
			<!--订单详情开始-->
			<div id="oreder-x-wrapper">
				<div class="od-curmb">
					<a href="">首页</a>&gt;
					<a href="">我的易购</a>&gt;
					<a href="">订单中心</a>&gt;
					<span>订单详情</span>
				</div>
				<div id="od-status">
					<div class="header">
						<span class="od-id">
							 订单编号：{{$orderData['number']}}
						</span>
						<span class="od-id">
							下单时间：{{$orderData['time']}}
						</span>
						<div class="od-opts">
							{{if value="$orderData['status'] == '未付款'"}}
							<a class="a-opts" href="{{U('del',array('oid' => $_GET['oid'],'olid' => $_GET['olid']))}}">取消订单</a>
							{{endif}}
						</div>
					</div>
					
					
					<div class="status-main">
						<div>
							<span class="status-od-span">
								订单状态：
								<b><font class="od-font">{{$orderData['status']}}</font></b>
							</span>
							{{if value="$orderData['status'] == '未付款'"}}
							<a class="btn-pay" href="{{U('Pay/index',array('oid' => $_GET['oid'],'olid' => $_GET['olid']))}}">去支付</a>
							{{endif}}
						</div>
					</div>
				</div>
				
				
				<!--信息页面-->
				
				<div id="pd-main-wrap">
					<div class="od-putline">
						<dl class="item-delivery">
							<dt>配送信息</dt>
							<dd>
								<div class="item-row">
								<span>{{$orderData['consignee']}}</span>	
								</div>
								<div class="item-row">
								<span>{{$orderData['mobile']}}</span>	
								</div>
								<div class="item-row">
								<span>{{$orderData['address']}}</span>	
								</div>
								<div class="item-row">
								<span><i>配送方式</i>：配送</span>	
								</div>
							</dd>
							
							<dt>发票信息</dt>
							<dd>
								<div class="item-row">
								<span><i>发票抬头</i>： {{$orderData['consignee']}} </span>	
								</div>
							</dd>
							
							<dt>支付信息</dt>
							<dd>
								<div class="item-row">
								<span><i>付款方式：</i>在线支付</span>	
								</div>
								<div class="item-row">
								<span><i>运　　费：</i>¥0.00</span>	
								</div>
								<div class="item-row">
								<span><i>券卡/优惠：</i>¥0.00</span>	
								</div>
								<div class="item-row">
								<span><i>订单金额：</i>¥{{$orderData['total']}}</span>	
								</div>
							</dd>
						</dl>
						
						<!--总金额-->
						<div id="item-row">
							<span>应付金额：</span>
							<i>￥</i>
							<em>{{$orderData['total']}}</em>
						</div>
					</div>
					<!--右侧-->
					<div class="od-detail">
						<div class="od-good-show">
							<div class="show-center">
								<ul>
									<li>
										<a href=""><img src="{{__PUBLIC__}}/Home/img/center/000000000134003091_1_60x60.jpg" alt="" /></a>
									</li>
								</ul>
							</div>
						</div>
						
						
						<div class="order-real-info">
							<div class="od-opration">
								<p>商品状态：
									<span>商品 &nbsp;{{$orderData['status']}}</span> 
								</p>
							</div>
							<div class="od-real-status">
								<ol>
									<li>
										<p class="od-p1">订单提交</p>
										<p class="od-p2"></p>
										<p class="od-p3"><span>2016-06-23 20:58:31</span></p>
										<div class="status-line"></div>
									</li>
									<li>
										<p class="od-p1">等待支付</p>
										<p class="od-p2"></p>
										<p class="od-p3"><span>2016-06-23 20:58:31</span></p>
										<div class="status-line"></div>
									</li>
									<li>
										<p class="od-p1">商品支付</p>
										<p class="od-p2"></p>
										<p class="od-p3"><span>2016-06-23 20:58:31</span></p>
										<div class="status-line"></div>
									</li>
									<li>
										<p class="od-p1">收获完成</p>
										<p class="od-p2"></p>
										<p class="od-p3"><span>2016-06-23 20:58:31</span></p>
									</li>
								</ol>
							</div>
							
							
							<div class="od-wl-status">
								<div class="wl-status-content">
									<span>{{date('Y-m-d H:i:s',$orderData['time'])}} </span>
									{{if value="$orderData['status'] == '未付款'"}}
										<span>您的订单已提交，请尽快完成支付 </span>
									{{endif}}
								</div>
							</div>
						</div>
					</div>
				</div>
				
				
				
				<!--信息页面结束-->
				
			</div>
			<!--结算总金额-->
			
			<div id="od-gd">
				<table border="" cellspacing="" cellpadding="">
					<tr>
						<th>商品</th>
						<th>单价</th>
						<th>数量</th>
						<th>商品总额</th>
					</tr>
					{{foreach from="$orderListData" key="$k" value="$v"}}
					<tr>
						<td>
							<a href=""><img width="60" src="{{$v['pic']}}" alt="" /></a>
							<a href="">{{$v['gname']}} </a>
						</td>
						<!--单价-->
						<td> ¥ {{$v['shopprice']}} </td>
						<!--数量-->
						<td> {{$v['quantity']}}件 </td>
						<!--价格小计-->
						<td> ¥ {{$v['subtotal']}} </td>
					</tr>
					{{endforeach}}
					<tfoot>
						<tr>
							<td colspan="5" class="colspan">
								<span>商品总计：¥<i>{{$orderData['total']}}</i></span>
								<span>运费金额：¥<i>0.00</i></span>
								<span>券卡/优惠：¥<i>0.00</i></span>
							</td>
						</tr>
						<tr>
							<td colspan="5" class="colspan">
								<span>应付金额：</span>
								<em>¥{{$orderData['total']}}</em>
							</td>
						</tr>
					</tfoot>
				</table>	
			</div>
				
				
				
			<!--结算总金额结束-->
			
			
			
			
			
			
			
			<!--订单详情结束-->
			
			
			{{include file="VIEW_PATH/Common/footer.php"}}
</body>
</html>